package com.ybkj.daijia.server.gasstation;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 加油站模型
 *
 * @author huqibing
 */
public class GasStation implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Date created;

    private Date updated;

    private String name; // 加油站名称

    private Double balance; // 加油站余额

    private String serviceNo; // 服务号(登录加油站系统的账号)

    private String password; // 登录密码

    private Boolean freeze; // 是否冻结登录账号 true:是,false:不是(默认不是)

    private Boolean privilege; // 是否为特权油 true:是,false:不是(默认不是)

    private Boolean vip; // 是否专享 true:是,false:不是(默认不是)

    private String brand; // 代理品牌(中石化,壳牌等)

    private Long companyId; // 所属公司Id

    private String companyName; // 所属公司名称

    private String contacts; // 联系人

    private String contactsPhone; // 联系人手机

    private String telephone; // 座机

    private String provincial; // 省

    private String city; // 市

    private String county; // 县

    private String address; // 详细地址

    private Double lng; // 地址经度

    private Double lat; // 地址纬度

    private Long version; // 操作数据库sql执行版本

    private String appKey; // 系统KEY

    private List<GasPrice> priceList;

    public List<GasPrice> getPriceList() {
        return priceList;
    }

    public void setPriceList(List<GasPrice> priceList) {
        this.priceList = priceList;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }


    public String getServiceNo() {
        return serviceNo;
    }

    public void setServiceNo(String serviceNo) {
        this.serviceNo = serviceNo;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getFreeze() {
        return freeze;
    }

    public void setFreeze(Boolean freeze) {
        this.freeze = freeze;
    }

    public Boolean getPrivilege() {
        return privilege;
    }

    public void setPrivilege(Boolean privilege) {
        this.privilege = privilege;
    }

    public Boolean getVip() {
        return vip;
    }

    public void setVip(Boolean vip) {
        this.vip = vip;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getProvincial() {
        return provincial;
    }

    public void setProvincial(String provincial) {
        this.provincial = provincial;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    @Override
    public String toString() {
        return "GasStation [id=" + id + ", created=" + created + ", updated=" + updated + ", name="
            + name + ", serviceNo=" + serviceNo + ", password=" + password + ", freeze=" + freeze
            + ", privilege=" + privilege + ", vip=" + vip + ", brand=" + brand + ", companyId="
            + companyId + ", companyName=" + companyName + ", contacts=" + contacts
            + ", contactsPhone=" + contactsPhone + ", telephone=" + telephone + ", provincial="
            + provincial + ", city=" + city + ", county=" + county + ", address=" + address
            + ", lng="
            + lng + ", lat=" + lat + ", version=" + version + ", appKey=" + appKey + "]";
    }


}
